package hotgammon.domain;

public class AlphamonDice implements DiceStrategy {

	public int[] throwDice(int rolls) {
		int[] dice = new int[2];
		
		switch(rolls + 1) { 	
		case 1:
		case 2:
			dice[0] = 1; dice[1] = 2;
			break;
		case 3:
		case 4: 
			dice[0] = 3; dice[1] = 4;
			break;
		case 5:
		case 6: 
			dice[0] = 5; dice[1] = 6;
			break;
		}
		
		return dice;
	}
}
